package com;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ImportResource;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@SpringBootApplication
@MapperScan(value = "com.account_main.mapper")
@EnableGlobalMethodSecurity(prePostEnabled = true)
//@EnableFeignClients
//@EnableGlobalMethodSecurity(prePostEnabled = true)
//@ImportResource(value = "classpath:dubbo.xml")
@EnableDubbo
public class AccountMainApplication {
    public static void main(String[] args) {
        SpringApplication.run(AccountMainApplication.class, args);
    }
}


